home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_01_04
/
1n04078b
< prev
next >
Wrap
Text File
|
1990-08-07
|
320b
|
16 lines
Figure 2: DoDialog()
--------------------
/*
* DoDialog
*/
int DoDialog(HANDLE hInst,HWND hWnd,char *Res,
FARPROC lpProc){
FARPROC lpfn;
BOOL ret;
lpfn = MakeProcInstance(lpProc,hInst);
ret = DialogBox(hInst,Res,hWnd,lpfn);
FreeProcInstance(lpfn);
return(ret);
}